package com.ruoyi.common.enums.zyl;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 账号(库存)状态枚举
 *
 * @author zyl
 * @date 2022/01/05
 */
@Getter
@AllArgsConstructor
public enum InventoryStatusEnum implements IEnum<String> {

    PENDING_PROCESSING("1", "待处理"),
    PENDING_APPROVAL("2", "待审核"),
    ALREADY_LISTED("3", "已上架"),
    TEMPORARILY_SOLD("4", "暂卖中"),
    ALREADY_SOLD("5", "已售出"),
    AFTER_SALE_SERVICE("6", "售后中"),
    PROBLEM_ACCOUNT("7", "问题账号"),
    INVALID_ACCOUNT("8", "作废号");

    @EnumValue
    @JsonValue
    private final String value;

    private final String label;

}
